package com.shanshui.test;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;

import java.util.List;

/**
 * @author mashanshui
 * @date 2022-04-12
 * @desc TODO
 */
public class MenuAdapter extends BaseQuickAdapter<MenuBean, BaseViewHolder> {


    public MenuAdapter(List<MenuBean> data) {
        super(R.layout.item_menu, data);
    }

    @Override
    protected void convert(BaseViewHolder mVH, MenuBean mT) {
        mVH.setText(R.id.button, mT.name);
    }
}
